﻿using System.Data;
using ECM7.Migrator.Framework;

namespace music.domain.Migrations
{
	[Migration(7)]
	public class Migration007_RemoveUserNameFromSongs : Migration
	{
		public override void Apply()
		{
			Database.RemoveColumn("Songs", "UserName");
		}

		public override void Revert()
		{
			Database.AddColumn("Song", new Column("UserName", DbType.String.WithSize(200)));
		}
	}
}